package com.umakr.ax.sv.mapper;

import com.baomidou.mybatisplus.mapper.Wrapper;
import com.baomidou.mybatisplus.plugins.Page;
import com.sun.java.swing.plaf.windows.resources.windows;
import com.umakr.ax.core.base.BaseMapper;
import com.umakr.ax.sv.model.MessageHistory;
import org.apache.ibatis.annotations.Param;

import java.sql.Timestamp;
import java.util.Date;
import java.util.List;

/**
 * Created by umakr on 2017/6/17.
 */
public interface MessageHistoryMapper extends BaseMapper<MessageHistory> {

    Page<?> getRadioPage(@Param("messagestatus") Integer messagestatus);

    Integer getCurrentRadioCount(@Param("messagestatus") Integer messagestatus);


    List<?> getMessageStatusCount();

    List<?> getRadioList(@Param("messagestatus") Integer messagestatus);

    Page<?> getHistoryRadioPage(@Param("filestatus") Integer filestatus);

    Page<?> getMessages(@Param("membername")String membername, @Param("createtimebegin")String createtimebegin, @Param("createtimeend")String createtimeend,
                        @Param("message")String message, @Param("category")String category, @Param("messagestatus")Integer messagestatus);


}
